package com.cqq.auth.service.bean;

import java.util.Date;

import com.cqq.common.core.base.BaseBean;

/**
 * <h3>用户Bean</h3>
 * 
 * @author xijq
 * @version 1.0.0
 * 
 */
public class UserBean extends BaseBean{

	private static final long serialVersionUID = -1477225906950969739L;

	/**
	 * 主键ID
	 */
	private Integer id;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 用户类型
	 */
	private Integer type;
	
	/**
	 * 状态
	 */
	private Integer status;

	/**
	 * 真实姓名
	 */
	private String realName;

	/**
	 * 手机
	 */
	private String mobile;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 注册IP
	 */
	private String registerIp;
	
	/**
	 * 生效时间
	 */
	private Date effectiveTime;
	
	/**
	 * 过期时间
	 */
	private Date expiredTime;
	
	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 修改时间
	 */
	private Date updateTime;
	
	private Boolean isCommonContact;
	
	private Integer[] roleIds;
	
	
	
	public Boolean getIsCommonContact() {
		return isCommonContact;
	}

	public void setIsCommonContact(Boolean isCommonContact) {
		this.isCommonContact = isCommonContact;
	}

	public Integer[] getOrgIds() {
		return orgIds;
	}

	public void setOrgIds(Integer[] orgIds) {
		this.orgIds = orgIds;
	}

	private Integer[] orgIds;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRegisterIp() {
		return registerIp;
	}

	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}

	public Date getEffectiveTime() {
		return effectiveTime;
	}

	public void setEffectiveTime(Date effectiveTime) {
		this.effectiveTime = effectiveTime;
	}

	public Date getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer[] getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(Integer[] roleIds) {
		this.roleIds = roleIds;
	}
	

}
